<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>

<jsp:include page="/static/common/common_header.jsp"/>

<script type="text/javascript" src="/static/js/cases.js"></script>

<html>
<head>
    <title>报案表</title>
</head>
<body>
    <!--初始化列表-->
    <table id="cases_datagrid"></table>

    <!-- 添加/编辑对话框 -->
    <div id="cases_dialog">
        <form id="cases_form" method="post">
            <input type="hidden"  name="id" >
            <div style="padding-top: 30px; margin-bottom: 20px">
                <input class="easyui-textbox" style="width: 80%" name="name"
                       data-options="label:'报案人',labelAlign:'right',labelWidth:100,
				 required:true"></input>
            </div>
                <div style="margin-bottom: 20px">
                    <select class="easyui-combobox" name="sex" style="width: 80%"
                            data-options="
				label:'性别',
				labelAlign:'right',
				labelWidth:100,
				panelHeight:'auto',
				required:true
				">
                        <option >男</option>
                        <option >女</option>
                    </select>
                </div>
            <div style="margin-bottom: 20px; margin-bottom: 20px">
                <input class="easyui-datetimebox" name="receiveTime" style="width: 80%"
                       data-options="required:true,showSeconds:false,label:'发生时间',labelAlign:'right',labelWidth:100" >
            </div>
            <div style="margin-bottom: 20px">
                <input class="easyui-textbox" style="width: 80%" name="tel"
                       data-options="label:'联系电话',labelAlign:'right',labelWidth:100,
				 required:true"></input>
            </div>
            <div style="margin-bottom: 20px">
                <input class="easyui-textbox" style="width: 80%" name="carNumber"
                       data-options="label:'车牌号',labelAlign:'right',labelWidth:100,
				 required:true"></input>
            </div>
            <div style="margin-bottom: 20px">
                <input class="easyui-textbox" style="width: 80%" name="address"
                       data-options="label:'发生地点',labelAlign:'right',labelWidth:100,
				 required:true"></input>
            </div>
            <div style="margin-bottom: 20px">
                <input class="easyui-textbox" style="width: 80%" name="policySn"
                       data-options="label:'保单编号',labelAlign:'right',labelWidth:100,
				 required:true"></input>
            </div>

        </form>

    </div>
<!--工具栏-->
    <div id="tb">
        <shiro:hasPermission name="cases:save">
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="addCases">添加</a>
        </shiro:hasPermission>
        <shiro:hasPermission name="cases:edit">
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true " id="btn_edit" data-cmd="editCases">编辑</a>
        </shiro:hasPermission>

        <shiro:hasPermission name="cases:list">
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reloadCases">刷新</a>
        </shiro:hasPermission>
        &nbsp;&nbsp;&nbsp;
        <input id="searchBox">
        发生时间
        <input class="easyui-datetimebox" id="beginDate" name="beginDate"
               data-options="showSeconds:false"style="width:150px">~
        <input class="easyui-datetimebox" id="endDate" name="beginDate"
               data-options="showSeconds:false" style="width:150px">
        <a id="timeSearch" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="timeSearch"></a>
    </div>

<!--底部按钮-->
    <div id="bb">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="saveCases">保存</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancelCases">取消</a>
    </div>


</body>
</html>
